package com.tcm.logistics.dao.mapper;

import com.tcm.logistics.entity.LogisticsExpress;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LogisticsExpressMapper {

    int deleteByKey(Long id);

    int deleteLogicByKey(Long id);

    int insert(LogisticsExpress record);

    LogisticsExpress findByKey(Long id);

    int updateByKey(LogisticsExpress record);

    List<LogisticsExpress> listExpressPage(@Param("start") Long start, @Param("pagesize") Long pagesize);

    int countExpress();
}